{include file="public/header"/}
{include file="public/navleft"}
<div class="tpl-content-wrapper">
    <div class="tpl-content-page-title">
        Cmlabs Tools  导价格入批量更新数据工具
    </div>

    <ol class="am-breadcrumb">
        <li><a href="#" class="am-icon-home">首页</a></li>
        <li><a href="#">Import</a></li>
        <li class="am-active">Cmlabs tools表单</li>
    </ol>
    <form action="{:url('import/upload')}" method="post" class="form form-horizontal" enctype="multipart/form-data" id="addform">
        <div class="form-group">
            <br>
            <br>
            <div class="col-sm-5 col-sm-offset-2">
                <div class="input-group">
                    <input id='location' class="form-control" onclick="$('#i-file').click();">
                    <label class="input-group-btn">
                        <input type="button" id="i-check" value="浏览文件" class="btn btn-primary" onclick="$('#i-file').click();">
                    </label>
                </div>
            </div>
            <div class="col-sm-10  col-sm-offset-1">
                <table class="table table-bordered">
                    <caption class = "col-sm-offset-2">**excel格式要求****保持下列格式要求)********<a  href="/uploads/prices/医院价格模板.xlsx" download="" title="下载模板">
                        <span>点击下载模板文件</span></a>
                    </caption>
                    <br/><br/>
                    <thead>
                    <tr style="display:none">
                        <th>jyyq</th>
                        <th>iszh</th>
                        <th>yqdh</th>
                        <th>xmdh</th>
                        <th>xmmc</th>
                        <th>price</th>
                        <th>khdm</th>
                        <th>starttime</th>
                        <th>endtime</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>检验平台</td>
                        <td>项目单项或组套</td>
                        <td>仪器代号</td>
                        <td>项目代号</td>
                        <td>项目名称</td>
                        <td>价格</td>
                        <td>客户代码（前6位条码）</td>
                        <td>起始时间</td>
                        <td>结束时间</td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <input type="file" name="excel" id='i-file'  accept=".xls, .xlsx" onchange="$('#location').val($('#i-file').val());" style="display: none">
            <input type="submit" value="更新/新增价格" class="btn btn-primary">
        </div>


    </form>
    {include file="public/footer"/}